<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script type="text/html" id="model">
			<div>
				<for var="user" items="data">
					<with item="user">
						<h1>{{name}}</h1>
					</with>
				</for>
			</div>
		</script>
		<script src="src/eval/myeval.min.js"></script>
		<script src="src/template.es6.js"></script>
		<script type="text/javascript">
			var tmp = MyEngine.load(document.getElementById("model").innerHTML);
			console.log(tmp.run({
				data: [{
					name: "xiaoming"
				}, {
					name: "xiaohong"
				}]
			}));
		</script>
	</body>
</html>
